package com.wanczy.service;

import java.util.List;

import com.wanczy.pojo.Address;
import com.wanczy.pojo.Order;

public interface OrderService {
	//查询用户的发货地址
	public List<Address> queryAddress(Integer userId);
	//形成订单
	public int addOrder(Order order);
	//修改库存
	public int desGoodsNum(Integer goodsId,Integer orderNum);
}
